Create a new instance of the LearningStoreJob class.
Parent Type: LearningStore
Namespace: Microsoft.LearningComponents.Storage
Assembly: Microsoft.LearningComponents.Storage.dll
| Exception type | Condition |
| InvalidOperationException | The store was created by a different version of this product, or the schema information stored inside the database is invalid. |
| SqlException | The database could not be opened or other SQL error. |
The following code opens a store and creates a new job:
| C# |
LearningStore store = new LearningStore("Server=Learning;Database=Mls;Integrated Security=true", "Bob");
LearningStoreJob job = store.CreateJob();
|